net/http.http2clientStream.bytesRemain (field)
8 uses
net/http (current package)
h2_bundle.go#L7819: bytesRemain int64 // -1 means unknown; owned by transportResponseBody.Read
h2_bundle.go#L9946: cs.bytesRemain = res.ContentLength
h2_bundle.go#L10001: if cs.bytesRemain != -1 {
h2_bundle.go#L10002: if int64(n) > cs.bytesRemain {
h2_bundle.go#L10003: n = int(cs.bytesRemain)
h2_bundle.go#L10009: return int(cs.bytesRemain), err
h2_bundle.go#L10011: cs.bytesRemain -= int64(n)
h2_bundle.go#L10012: if err == io.EOF && cs.bytesRemain > 0 {
![]() |
The pages are generated with Golds v0.8.5. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |